#ifndef UPDATESCOREINTERNALEVENT_H_
#define UPDATESCOREINTERNALEVENT_H_

#include "Event.h"

class UpdateScoreInternalEvent : public Event
{
public:
    enum ScoreType
    {
        FULL_ROW,
        NEW_ROW,
        PIECE_DOWN
    };

    UpdateScoreInternalEvent(int playerId, ScoreType scoreType, int data = 0);
    virtual ~UpdateScoreInternalEvent();

    virtual void visitScoreModel(ScoreModel* scoreModel) const;

private:
    int playerId;
    ScoreType scoreType;
    int data;
};

#endif
